<?php
/**
 * User: Hunman
 * Date: 18.06.13
 * Time: 22:09
 */
function autoload($className)
{
    if ( $className != "Memcache")
    {
        $fileName = str_replace('_', '/', $className) . '.php';
        try
        {
            require_once $fileName;
        }
        catch ( Exception $e )
        {
        }
    }
	if( $className == "Memcache")
	{
		require_once "Modules/memcache/memcache.php";
	}
}

spl_autoload_register('autoload');